package com.hliushi.oauth2.exception;


/**
 * 业务异常提示信息枚举类
 * #
 * 定义异常信息
 */
public enum BusinessMsgEnum {


    PARAMETER_EXCEPTION("102", "参数异常!"),
    SERVICE_TIME_OUT("103", "服务调用超时!"),
    PARAMETER_BIG_EXCEPTION("102", "输入的图片数量不能超过50张!"),
    UNEXCEPTION_EXCEPTION("500", "系统发生异常, 请联系管理员!");


    // 消息码
    private String code;

    // 消息内容
    private String msg;

    BusinessMsgEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
